booths algorithm (hardware implementation) with example